package com.jxin.mall.sso.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 单点登录配置参数
 * @author 蔡佳新
 * @version 1.0
 * @since jdk 1.8
 */
@Component
@ConfigurationProperties(prefix = "sso")
@Data
public class SSOProperties {
    /**sso的服务地址*/
    private String serverPath;
    /**登出路径*/
    private String logoutPath;
    /**需要排除的路径集合*/
    private List<String> excludedPaths;
}
